﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MaintainList.aspx.cs" Inherits="Runda.CMS.Portal.Mobile.MaintainList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html class="ui-mobile landscape min-width-320px min-width-480px min-width-768px min-width-1024px">
<head id="Head2" runat="server">
    <title></title>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, minimum-scale=1, maximum-scale=1" />
    <meta name="GENERATOR" content="MSHTML 8.00.7600.16385">
     <link rel="stylesheet" href="Content/jquery.mobile-1.0a2.min.css" />
    <link rel="stylesheet" href="Content/jqm-docs.css" />
    <script type="text/javascript" src="Content/jquery-1.5.min.js"></script>

    <script type="text/javascript" src="Content/jquery.mobile-1.0a4.1.min.js"></script>

    <script type="text/javascript" src="Content/jquery.mobile.themeswitcher.js"></script>

    <script type="text/javascript" src="Content/jqm-docs.js"></script>    
   
    <script src="Business/Login.js" type="text/javascript"></script>
</head>
<body class="ui-mobile-viewport">
    <div class="ui-page ui-body-b ui-page-active" data-theme="b" data-role="page">
        <div class="ui-bar-b ui-header" data-role="header" role="banner">
            <a class="ui-btn-left ui-btn ui-btn-icon-left ui-btn-corner-all ui-shadow ui-btn-up-b"
                data-icon="arrow-l" href="#" data-theme="b" data-rel="back" href="#"><span class="ui-btn-inner ui-btn-corner-all">
                    <span class="ui-btn-text">后退</span> <span class="ui-icon ui-icon-arrow-l ui-icon-shadow">
                    </span></span></a>
            <h1 class="ui-title" tabindex="0" role="heading" aria-level="1">
                RUNDA</h1>
                <a onclick="javascript:window.location='WorkRegister.aspx';return false;" data-icon="arrow-r" data-theme="b">新建</a>
        </div>
        <div class="ui-bar ui-bar-c">
            <div class="ui-corner-all ui-controlgroup ui-controlgroup-horizontal" data-type="horizontal"
                data-role="controlgroup">
                <a class="ui-btn ui-btn-inline ui-corner-left ui-btn-up-c" data-inline="true" data-role="button"
                    href="#" data-theme="c"><span class="ui-btn-inner ui-corner-left"><span class="ui-btn-text">
                        首页</span> </span></a><a class="ui-btn ui-btn-inline ui-btn-up-c" data-inline="true"
                            data-role="button" href="WorkRegisterList.aspx" data-theme="c"><span class="ui-btn-inner"><span class="ui-btn-text">
                                注册单</span> </span></a><a class="ui-btn ui-btn-inline ui-btn-up-c" data-inline="true"
                                    data-role="button" href="MaintainList.aspx" data-theme="c"><span class="ui-btn-inner"><span class="ui-btn-text">
                                        服务单</span> </span></a><a class="ui-btn ui-btn-inline ui-btn-up-c" data-inline="true"
                            data-role="button" href="DutyList.aspx" data-theme="c"><span class="ui-btn-inner"><span class="ui-btn-text">
                                值班表</span> </span></a><a class="ui-btn ui-btn-inline ui-corner-right ui-controlgroup-last ui-btn-up-c"
                                            data-inline="true" data-role="button" href="#" data-theme="c" href="javascript:void(0);" onclick="logOut();"><span class="ui-btn-inner ui-corner-right ui-controlgroup-last">
                                                <span class="ui-btn-text" >退出</span> </span></a>
            </div>
        </div>
        <div class="ui-content" data-role="content" role="main">            
            <ul class="ui-listview ui-listview-inset ui-corner-all ui-shadow" data-inset="true"
                data-role="listview" role="listbox">
                <li class="ui-li ui-li-divider ui-btn ui-bar-b ui-corner-top ui-btn-up-undefined"
                    data-role="list-divider" role="heading" tabindex="0">我的服务单 </li>
                    <asp:Repeater ID="myWorkRegisterList" runat="server">
                        <ItemTemplate>
                            <li class="ui-btn ui-btn-icon-right ui-li ui-btn-up-c" role="option" tabindex="-1"
                                data-theme="c">
                                <div class="ui-btn-inner">
                                    <div class="ui-btn-text">
                                        <a class="ui-link-inherit" onclick="javascript:window.location='WorkRegister.aspx?RegisterID=<%#Eval("RegisterID") %>';return false;">客户：<%#Eval("CustomerName") %>；<br />仪器：<%#Eval("InstrumentName") %>；序列号：<%# Eval("InstrumentSerialNum")%>；<br />期望完成日期：<%#Eval("ExpectEndDate") %></a>
                                    </div>
                                    <span class="ui-icon ui-icon-arrow-r"></span>
                                </div>
                            </li>                            
                    </ItemTemplate>
                </asp:Repeater>
            </ul>
        </div>
        <div class="ui-bar-b ui-footer" data-role="footer" role="contentinfo">
            <p>RUNDA</p>
        </div>
    </div>
</body>
</html>
